package k8.buffer.var;

import k8.buffer.VerticesBuffer;

import org.lwjgl.opengl.GL11;


public final class VARVerticesBuffer extends VerticesBuffer {
    
    /**
     * Creates an instance of VARVerticesBuffer.
     * 
     * @param initialcapacity
     *          Initial capacity (number of vertices)
     */
    public VARVerticesBuffer(int initialcapacity) {
        super(initialcapacity);
    }

    @Override
    public void destroy() {
    }
    
    /** Tells OpenGL this buffer contains the vertices */
    public void glVertexPointer() {
        buffer.rewind();
        GL11.glVertexPointer(3, 0, buffer.asFloatBuffer());
    }
    
}
